<%@ page language="java" contentType="text/html; charset=UTF-8"	 pageEncoding="UTF-8"%>
<%@ include file="../include/laypublic.jsp"%>
<!DOCTYPE html>
<html>
<head>
  <title>诉讼仲裁案件信息详情</title>
</head>
<style>
	.fieldset {
		margin-top: 5px;
		margin-bottom: 0px
	}
	
	.contract-box {
		width: 100%;
		min-height: 100px;
		margin-top:20px;
	}
	
	.contract-money {
		width: 94%;
		margin: 0px auto;
	}
	
	.contract-money .layui-table {
		margin: 0;
	}
	
	.contract-money th {
		text-align: center;
		height: 38px;
	}
	
	.contract-money .label {
		display: block;
		width: 45px !important;
		margin-left: 15px;
	}
		
	.layui-legend {
		background-color: #5fb878;
		font-size: 15px !important;
		width: 140px;
	}
	
	.layui-form-item {
		margin-bottom: 5px;
		clear: both;
		*zoom: 1;
	}
	
	.layui-form-label {
		width: 150px;
	}
</style>
<body>
<div class="layui-fluid">
    <div class="layui-card">
	    <div class="layui-tab-item layui-show">
			<div class="layui-card">
	          <div class="layui-card-body">
	            <div class="layui-tab layui-tab-brief" lay-filter="component-tabs-brief">
	              <ul class="layui-tab-title">
	                <li class="layui-this"><B>表单信息</B></li>
	                <!-- <li><B>审批信息</B></li> -->
	              </ul>
	              <div class="layui-tab-content">
	                <div class="layui-tab-item layui-show">
						<!-- start 业务表单数据显示  put yourself data here -->
						<form class="layui-form" id="addInfo_form">
						<fieldset class="layui-elem-field layui-field-title fieldset"  id="baseInfo">
						  <legend class="layui-btn layui-legend" style="text-align:left;cursor:default;">基础信息  ></legend>
						  <div style="margin-top:20px">
						  	<div class="layui-form-item">
						  		<div class="layui-inline">
							      	<label class="layui-form-label">申请公司</label>
							      	<div class="layui-input-inline">
						        		<input type="text" name="orgName" value="${lawcaseInfoVo.orgName }" style="border:0px;" readonly="readonly" class="layui-input">
							      	</div>
							    </div>
							    <div class="layui-inline">
							    	<label class="layui-form-label">申请部门</label>
						      		<div class="layui-input-inline">
						        		<input type="text" name="deptName" value="${lawcaseInfoVo.deptName }" style="border:0px;" readonly="readonly" class="layui-input">
						      		</div>
							    </div>
							    <div class="layui-inline">
							    	<label class="layui-form-label">申请人</label>
						      		<div class="layui-input-inline">
						        		<input type="text" name="staffName" value="${lawcaseInfoVo.staffName }" readonly="readonly" style="border:0px" class="layui-input">
						      		</div>
							    </div>
						    </div>				  							  						  	
				    		<div class="layui-form-item">
				    			<div class="layui-inline">
									<label class="layui-form-label">原申请单类型</label>
									<div class="layui-input-inline">
										<c:if test="${lawcaseInfoVo.lawcaseType == '01' }">	
											<input type="text" name="lawcaseType" value="起诉案件" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
										<c:if test="${lawcaseInfoVo.lawcaseType == '02' }">	
											<input type="text" name="lawcaseType" value="上诉案件" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
										<c:if test="${lawcaseInfoVo.lawcaseType == '03' }">	
											<input type="text" name="lawcaseType" value="执行案件" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
										<c:if test="${lawcaseInfoVo.lawcaseType == '04' }">	
											<input type="text" name="lawcaseType" value="和解案件" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
									</div>
								</div>			    		
								<div class="layui-inline">
									<label class="layui-form-label">案件名称</label>
									<div class="layui-input-inline">
										<input type="text" name="lawcaseName" value="${lawcaseInfoVo.lawcaseName }" readonly="readonly" style="border:0px" class="layui-input">
									</div>
								</div>
							    <div class="layui-inline">
									<label class="layui-form-label">立案单位</label>
									<div class="layui-input-inline">
										<input type="text" name="deptSetName" value="${lawcaseInfoVo.deptSetName }" readonly="readonly" style="border:0px" class="layui-input">
									</div>
								</div>
							</div>									
							<div class="layui-form-item" >
								<div class="layui-inline">
									<c:if test="${lawcaseInfoVo.lawcaseType == '01' }">	
							    		<label class="layui-form-label">立案日期</label>
							    	</c:if>
							    	<c:if test="${lawcaseInfoVo.lawcaseType == '02' }">	
							    		<label class="layui-form-label">上诉申请日期</label>
							    	</c:if>
							    	<c:if test="${lawcaseInfoVo.lawcaseType == '03' }">	
							    		<label class="layui-form-label">执行申请日期</label>
							    	</c:if>
							    	<c:if test="${lawcaseInfoVo.lawcaseType == '04' }">	
							    		<label class="layui-form-label">和解申请日期</label>
							    	</c:if>
									<div class="layui-input-inline">
										<input type="text" name="bringApplyDate" value="<fmt:formatDate value="${lawcaseInfoVo.bringApplyDate }" pattern="yyyy-MM-dd"/>" readonly="readonly" style="border:0px" class="layui-input">
									</div>							    	
								</div>
								<div class="layui-inline">
									<label class="layui-form-label">案件标的额（万元）</label>
									<div class="layui-input-inline">
										<input type="text" name="targetAmount" value="${lawcaseInfoVo.targetAmount }" readonly="readonly" style="border:0px" class="layui-input">
									</div>
								</div>
								<div class="layui-inline">
									<label class="layui-form-label">发案单位</label>
									<div class="layui-input-inline">
										<input type="text" name="bringFromTaker" value="${lawcaseInfoVo.bringFromTaker }" readonly="readonly" style="border:0px" class="layui-input">
									</div>
								</div>
							</div>
							<div class="layui-form-item">
				    			<div class="layui-inline">
									<label class="layui-form-label">案件类型</label>
									<div class="layui-input-inline">
										<c:if test="${lawcaseInfoVo.typeCase == '01' }">	
											<input type="text" name="typeCase" value="起诉" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
										<c:if test="${lawcaseInfoVo.typeCase == '02' }">	
											<input type="text" name="typeCase" value="应诉" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
										<c:if test="${lawcaseInfoVo.typeCase == '03' }">	
											<input type="text" name="typeCase" value="执行" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
										<c:if test="${lawcaseInfoVo.typeCase == '04' }">	
											<input type="text" name="typeCase" value="仲裁" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
										<c:if test="${lawcaseInfoVo.typeCase == '04' }">	
											<input type="text" name="typeCase" value="其他" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
									</div>
								</div>			    		
								<div class="layui-inline">
									<label class="layui-form-label">是否结案</label>
									<div class="layui-input-inline">
										<c:if test="${lawcaseInfoVo.closeFlag == '0' }">	
											<input type="text" name="closeFlag" value="未结" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
										<c:if test="${lawcaseInfoVo.closeFlag == '1' }">	
											<input type="text" name="closeFlag" value="已结" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
									</div>
								</div>
							    <div class="layui-inline">
									<label class="layui-form-label">结案日期（选填）</label>
									<div class="layui-input-inline">
										<input type="text" name="closeDate" value="<fmt:formatDate value="${lawcaseInfoVo.closeDate }" pattern="yyyy-MM-dd"/>" readonly="readonly" style="border:0px" class="layui-input">
									</div>
								</div>
							</div>
							<div class="layui-form-item">
				    			<div class="layui-inline">
									<label class="layui-form-label">结案状态（选填）</label>
									<div class="layui-input-inline">
										<c:if test="${lawcaseInfoVo.closeState == '01' }">	
											<input type="text" name="closeState" value="胜诉" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
										<c:if test="${lawcaseInfoVo.closeState == '02' }">	
											<input type="text" name="closeState" value="败诉" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
										<c:if test="${lawcaseInfoVo.closeState == '03' }">	
											<input type="text" name="closeState" value="和解" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
									</div>
								</div>			    		
								<div class="layui-inline">
									<label class="layui-form-label">回购金额（万元）</label>
									<div class="layui-input-inline">				
										<input type="text" name="backAmount" value="${lawcaseInfoVo.backAmount }" style="border:0px;" readonly="readonly" class="layui-input">										
									</div>
								</div>
							    <div class="layui-inline">
									<label class="layui-form-label">挽损额（万元）</label>
									<div class="layui-input-inline">
										<input type="text" name="tosaveAmount" value="${lawcaseInfoVo.tosaveAmount }" style="border:0px;" readonly="readonly" class="layui-input">
									</div>
								</div>
							</div>					
							<div class="layui-form-item">
								<div class="layui-inline">
									<label class="layui-form-label">赔偿额（万元）</label>
									<div class="layui-input-inline">
										<input type="text" name="compensationAmount" value="${lawcaseInfoVo.compensationAmount }" style="border:0px;" readonly="readonly" class="layui-input">
									</div>
								</div>
								<div class="layui-inline">
									<label class="layui-form-label">案由</label>
									<div class="layui-input-inline">
										<infopub:select name="causeType" value="${lawcaseInfoVo.causeType }" disabled="disabled" type="dic" groupNo="A00010078" cssClass="layui-input"></infopub:select>
									</div>
								</div>
								<div class="layui-inline">
									<label class="layui-form-label">案件成因类型</label>
									<div class="layui-input-inline">
										<c:if test="${lawcaseInfoVo.originType == '01' }">	
											<input type="text" name="originType" value="起诉" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
										<c:if test="${lawcaseInfoVo.closeState == '02' }">	
											<input type="text" name="originType" value="被诉" style="border:0px;" readonly="readonly" class="layui-input">
										</c:if>
									</div>
								</div>
							</div>	
							<div class="layui-form-item">
								<c:if test="${lawcaseInfoVo.originType == '01' }">	
								<div class="layui-inline">
									<label class="layui-form-label">因何起诉</label>
									<div class="layui-input-inline">
										<infopub:select name="sueType" value="${lawcaseInfoVo.sueType }" disabled="disabled" type="dic" groupNo="A00010079" cssClass="layui-input"></infopub:select>
									</div>
								</div>
								</c:if>
								<c:if test="${lawcaseInfoVo.closeState == '02' }">	
								<div class="layui-inline">
									<label class="layui-form-label">因何被诉</label>
									<div class="layui-input-inline">
										<infopub:select name="beSuedType" value="${lawcaseInfoVo.beSuedType }" disabled="disabled" type="dic" groupNo="A00010080" cssClass="layui-input"></infopub:select>
									</div>
								</div>
								</c:if>
							</div>
							
							<div class="layui-form-item">
								<div class="layui-inline">
									<div class="contract-box" id="lawcase-list">
				        				<div class="contract-money">
				            				<table class="layui-table">
							                    <colgroup>
							                        <col width="300">
							                        <col width="300" >
							                        <col width="900" >
							                    </colgroup>
											  <tbody>
											    <tr>
											      <td rowspan="3">案件当事人</td>
											      <td>原告</td>
											      <td><input type="text" name="caseTakerFrom" value="${lawcaseInfoVo.caseTakerFrom }" style="border:0px;" readonly="readonly" class="layui-input"></td>
											    </tr>
											    <tr>
											      <td>被告</td>
											      <td><input type="text" name="caseTakerTo" value="${lawcaseInfoVo.caseTakerTo }" style="border:0px;" readonly="readonly" class="layui-input"></td>
											    </tr>
											    <tr>
											      <td>第三人</td>
											      <td><input type="text" name="caseTakerThird" value="${lawcaseInfoVo.caseTakerThird }" style="border:0px;" readonly="readonly" class="layui-input"></td>
											    </tr>
											  </tbody>
						                	</table>
				               			</div>                									
									</div>
										
									<div class="contract-box" >
				        				<div class="contract-money">
				            				<table class="layui-table">
							                    <colgroup>
							                        <col width="300">
							                        <col width="150" >
							                        <col width="300" >
							                        <col width="150" >
							                        <col width="300" >
							                        <col width="150" >
							                        <col width="300" >
							                    </colgroup>
											  <tbody>
											    <tr>
											      <td rowspan="6">我方</td>
											      <td rowspan="2">发案单位</td>
											      <td rowspan="2"><input type="text" name="ourFromTaker" value="${lawcaseInfoVo.ourFromTaker }" style="border:0px;" readonly="readonly" class="layui-input"></td>
											      <td>负责人</td>
											      <td>
											      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
											      		<c:if test="${multi.partakeType == '01' }">
											      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
											      		</c:if>
											      	</c:forEach>
											      </td>
											      <td>电话</td>
											      <td>
											      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
											      		<c:if test="${multi.partakeType == '01' }">
											      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
											      		</c:if>
											      	</c:forEach>
											      </td>
											    </tr>
											    <tr>
											      <td>联系人</td>
											      <td>
											      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
											      		<c:if test="${multi.partakeType == '02' }">
											      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
											      		</c:if>
											      	</c:forEach>
											      </td>
											      <td>电话</td>
											      <td>
											      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
											      		<c:if test="${multi.partakeType == '02' }">
											      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
											      		</c:if>
											      	</c:forEach>
											      </td>
											    </tr>
											    <tr>
											      <td rowspan="2">办案部门</td>
											      <td rowspan="2"><input type="text" name="ourHrDeptName" value="${lawcaseInfoVo.deptSetName }" style="border:0px;" readonly="readonly" class="layui-input"></td>
											      <td>主办人</td>
											      <td>
											      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
											      		<c:if test="${multi.partakeType == '03' }">
											      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
											      		</c:if>
											      	</c:forEach>
											      </td>
											      <td>电话</td>
											      <td>
											      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
											      		<c:if test="${multi.partakeType == '03' }">
											      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
											      		</c:if>
											      	</c:forEach>
											      </td>
											    </tr>
											    <tr>
											      <td>协办人（选填）</td>
											      <td>
											      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
											      		<c:if test="${multi.partakeType == '04' }">
											      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
											      		</c:if>
											      	</c:forEach>
											      </td>
											      <td>电话（选填）</td>
											      <td>
											      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
											      		<c:if test="${multi.partakeType == '04' }">
											      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
											      		</c:if>
											      	</c:forEach>
											      </td>
											    </tr>
											    <tr>
											      <td rowspan="2">律师事务所</td>
											      <td rowspan="2"><input type="text" name="ourLawFirm" value="${lawcaseInfoVo.ourLawFirm }" style="border:0px;" readonly="readonly" class="layui-input"></td>
											      <td>负责人</td>
											      <td>
											      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
											      		<c:if test="${multi.partakeType == '05' }">
											      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
											      		</c:if>
											      	</c:forEach>
											      </td>
											      <td>电话</td>
											      <td>
											      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
											      		<c:if test="${multi.partakeType == '05' }">
											      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
											      		</c:if>
											      	</c:forEach>
											      </td>
											    </tr>
											    <tr>
											      <td>代理律师</td>
											      <td>
											      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
											      		<c:if test="${multi.partakeType == '06' }">
											      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
											      		</c:if>
											      	</c:forEach>
											      </td>
											      <td>电话</td>
											      <td>
											      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
											      		<c:if test="${multi.partakeType == '06' }">
											      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
											      		</c:if>
											      	</c:forEach>
											      </td>
											    </tr>
											  </tbody>
						                	</table>
				               			</div>                									
									</div>
																						
								    <div class="contract-box" >
				        				<div class="contract-money">
				            				<table class="layui-table">
							                    <colgroup>
									                <col width="300">
							                        <col width="150" >
							                        <col width="300" >
							                        <col width="150" >
							                        <col width="300" >
							                        <col width="150" >
							                        <col width="300" >
							                    </colgroup>
													<tbody>
												    <tr>
												      <td rowspan="6">对方</td>
												      <td rowspan="2">发案单位</td>
												      <td rowspan="2"><input type="text" name="sideFromTaker" value="${lawcaseInfoVo.sideFromTaker }" style="border:0px;" readonly="readonly" class="layui-input"></td>
												      <td>负责人</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '11' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '11' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td>联系人</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '12' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '12' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td rowspan="2">办案部门</td>
												      <td rowspan="2"><input type="text" name="sideHandleDept" value="${lawcaseInfoVo.sideHandleDept }" style="border:0px;" readonly="readonly" class="layui-input"></td>
												      <td>负责人</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '13' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '13' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td>承办人</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '14' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '14' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td rowspan="2">律师事务所</td>
												      <td rowspan="2"><input type="text" name="sideLawFirm" value="${lawcaseInfoVo.sideLawFirm }" style="border:0px;" readonly="readonly" class="layui-input"></td>
												      <td>负责人</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '15' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '15' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td>代理律师</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '16' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '16' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												  </tbody>
						                	</table>
				               			</div>                									
									</div>											
																				
  									<div class="contract-box" >
				        				<div class="contract-money">
				            				<table class="layui-table">
							                    <colgroup>
										            <col width="300">
							                        <col width="150" >
							                        <col width="300" >
							                        <col width="150" >
							                        <col width="300" >
							                        <col width="150" >
							                        <col width="300" >
							                    </colgroup>
												 <tbody>
												    <tr>
												      <td rowspan="12">法院、仲裁委员会（选填）</td>
												      <td rowspan="3">一审法院</td>
												      <td rowspan="3"><input type="text" name="firstCourt" value="${lawcaseInfoVo.firstCourt }" style="border:0px;" readonly="readonly" class="layui-input"></td>
												      <td>审判长</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '21' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '21' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td>主审法官</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '22' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '22' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td>其他法官</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '23' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '23' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td rowspan="3">二审法院</td>
												      <td rowspan="3"><input type="text" name="secondCourt" value="${lawcaseInfoVo.secondCourt }" style="border:0px;" readonly="readonly" class="layui-input"></td>
												      <td>审判长</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '24' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '24' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td>主审法官</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '25' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '25' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td>其他法官</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '26' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '26' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td rowspan="3">再审法院</td>
												      <td rowspan="3"><input type="text" name="lastCourt" value="${lawcaseInfoVo.lastCourt }" style="border:0px;" readonly="readonly" class="layui-input"></td>
												      <td>审判长</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '27' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '27' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td>主审法官</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '28' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '28' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td>其他法官</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '29' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '29' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td rowspan="3">仲裁委员会</td>
												      <td rowspan="3"><input type="text" name="boardOfArb" value="${lawcaseInfoVo.boardOfArb }" style="border:0px;" readonly="readonly" class="layui-input"></td>
												      <td>审判长</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '31' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '31' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td>主审法官</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '32' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '32' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												    <tr>
												      <td>其他法官</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '33' }">
												      			<input type="text" name="partakeInfo" value="${multi.partakeInfo }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												      <td>电话</td>
												      <td>
												      	<c:forEach items="${lawcaseInfoVo.lawcaseInfoMultis}" var="multi" varStatus="status">
												      		<c:if test="${multi.partakeType == '33' }">
												      			<input type="text" name="partakeTel" value="${multi.partakeTel }" style="border:0px;" readonly="readonly" class="layui-input">
												      		</c:if>
												      	</c:forEach>
												      </td>
												    </tr>
												  </tbody>
						                	</table>
				               			</div>                									
									</div>																																			
								</div>
							</div>
							
							<div class="layui-form-item">
								<div class="layui-inline">
									<label class="layui-form-label" >基本案由</label>
									<div class="layui-input-inline" >
										<textarea readonly="readonly" class="layui-textarea"
											style="width:899px;height:90px;" >${lawcaseInfoVo.baseCaseReason }</textarea>
									</div>
								</div>
							</div>	
							<div class="layui-form-item">
								<div class="layui-inline">
									<label class="layui-form-label" >案件办理、进展情况（选填）</label>
									<div class="layui-input-inline" >
										<textarea readonly="readonly" class="layui-textarea"
											style="width:899px;height:90px;" >${lawcaseInfoVo.caseProgress }</textarea>
									</div>
								</div>
							</div>
							<div class="layui-form-item">
								<div class="layui-inline">
									<label class="layui-form-label" >风险评估及解决方案（包括困难、问题及解决方法）（选填）</label>
									<div class="layui-input-inline" >
										<textarea readonly="readonly" class="layui-textarea"
											style="width:899px;height:90px;" >${lawcaseInfoVo.riskMemo }</textarea>
									</div>
								</div>
							</div>	
							<div class="layui-form-item">
								<div class="layui-inline">
									<label class="layui-form-label" >案件成因剖析及改进意见（包括管理漏洞与整改意见）（选填）</label>
									<div class="layui-input-inline" >
										<textarea readonly="readonly" class="layui-textarea"
											style="width:899px;height:90px;" >${lawcaseInfoVo.adviseMemo }</textarea>
									</div>
								</div>
							</div>
							<div class="layui-form-item">
								<div class="layui-inline">
									<label class="layui-form-label" >案件办理结果（选填）</label>
									<div class="layui-input-inline" >
										<textarea readonly="readonly" class="layui-textarea"
											style="width:899px;height:90px;" >${lawcaseInfoVo.resultMemo }</textarea>
									</div>
								</div>
							</div>	
				  		</div>
					</fieldset>
					
					<fieldset class="layui-elem-field layui-field-title fieldset" >
				  		<legend class="layui-btn layui-legend" style="text-align:left;cursor:default;">附件  ></legend>
					  	<div style="margin-top:20px;">
					  		<div class="layui-form-item">
								<label class="layui-form-label" style="width: 350px;">支持pdf、excel、word、ppt、图片资料，可上传多个</label>
							</div>
						    <c:forEach begin="1" end="2" var="i"   >
							<div class="layui-form-item">
							 	<label class="layui-form-label">
							 		<c:if test="${i == '1' }">案件办理思路、方案、措施</c:if>
							 		<c:if test="${i == '2' }">其他附件 </c:if>
							 	</label>
							 	<div class="layui-input-block">
							 		<div class="layui-upload">
						          		<div class="layui-upload-list">
						          			<c:forEach items="${lawcaseInfoVo.lawcaseInfoAtts }" var="fileAtt">
												<c:if test="${fileAtt.types == i }" >
													<div class="layui-upload-img-div">
														<c:choose>
															<c:when test="${fileAtt.fileSuffix == '.jpg' or fileAtt.fileSuffix == '.jpeg' or fileAtt.fileSuffix == '.png'}">
															<img src="${fileHttpPre }/${fileAtt.filePath }" title="${fileAtt.fileName}" class="layui-upload-img">
															</c:when>
															<c:otherwise>
															<img src="${ctx}/resources/images/${fn:substring(fileAtt.fileSuffix,1,5)}.jpg" title="${fileAtt.fileName}" class="layui-upload-img">
															</c:otherwise>
														</c:choose>
														<div class="mask">
															<a href="javascript:void(0)" style="margin-left:32px" onclick="showImg('${fileHttpPre}/${fileAtt.filePath }');">查看</a>
														</div>
														<p>${fileAtt.fileName}</p>
													</div>
												</c:if>
											</c:forEach>
										</div>
							         </div>
							  </div>
							</div>
							</c:forEach>					   						    
					  	</div>
					</fieldset>					
												
					</form>
					<!-- 务表单数据显示  -->
	                </div>
	                <!-- 引入公共流程渲染页面   -->
	               <%--  <%@ include file="../include/flowPublic.jsp"%> --%>
	              </div>
	            </div>
	          </div>
	        </div>
			<!-- 审批时 显示 通过/拒绝按钮   -->
			<%-- <c:if test="${'y'==processDealWith}">
			<fieldset class="layui-elem-field layui-field-title fieldset" style="text-align:center;">
				<div class="layui-form-item">
					<div class="layui-input-block">
			      		<input class="layui-btn layuiadmin-btn-admin layui-btn-normal " style="margin-top:6px;" type="button" data-type="to_pass_submit" id="to_pass_submit" value="审批通过">
			      		<input class="layui-btn layuiadmin-btn-admin layui-btn-primary " style="margin-top:6px;" type="button" data-type="to_refuse_submit" id="to_refuse_submit" value="审批终止">
			      	</div>
			    </div>
		    </fieldset>
		    </c:if> --%>
			<!-- 审批意见  -->
    		<%-- <form class="layui-form" id="flow_process_form" style="display:none">
				<input type="hidden" name="state" id="flow_process_form_state"/>
				<input type="hidden" name="srcBizSguid" value="${modelDetail.id }" />
				<input type="hidden" name="processId" value="${modelDetail.processId }" />
				<div class="layui-form-item" style="padding-top:10px">
			      	<label class="layui-form-label" >审批结果</label>
			      	<div class="layui-input-inline">
			      		<input type="text"  style="border:0px;" readonly="readonly" class="layui-input" id="flow_process_form_state_txt">
			      	</div>
			    </div>
				<div class="layui-form-item" style="padding-top:10px">
			      	<label class="layui-form-label" >审批意见</label>
			      	<div class="layui-input-inline">
			        	<textarea name="dealIdea" placeholder="请输入审批意见" lay-verify="required" class="layui-textarea" style="width:475px;height:145px;"></textarea>
			      	</div>
			    </div>
			  	<div class="layui-form-item" style="margin-top:10px;">
			      	<label class="layui-form-label">附件</label>
			      	<div class="layui-input-block">
			      		<div class="layui-upload">
			              	<button type="button" class="layui-btn" id="upload-more">上传</button>
		              		<div class="layui-upload-list" id="upload-more-list">
		              		</div>
		            	</div> 
			      	</div>
			    </div>
			    <div class="layui-form-item layui-hide">
			      <input type="button" lay-submit lay-filter="flow_process_from_submit" id="flow_process_from_submit" value="确认">
			    </div>
			</form> --%>
  		</div>
	</div>
</div>
  <script>
  	layui.config({
	    base: '${ctx}/resources/layuiadmin/' //静态资源所在路径
	  }).extend({
	    index: 'lib/index' //主入口模块
	  }).use(['index', 'table', 'set', 'transfer', 'upload'], function(){
	    var $ = layui.$
	    ,upload = layui.upload
	    ,table = layui.table
	    ,form = layui.form;
	    
	    upload.render({
	      elem: '#upload-more'
	      ,url: basePath + '/flowProcess/uploadAtt/'
	      ,multiple: true
	      ,accept: 'file'
	      ,acceptMime: 'application/zip,application/x-rar-compressed,image/jpeg,image/png,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/pdf'
	   	  ,before: function(obj){ //obj参数包含的信息
	   		    layer.load(); //上传loading
	   		  }
	      ,done: function(res){
	    	  //如果上传失败
	          if(res.code > 0){
	        	  layer.closeAll('loading'); //关闭loading
	        	  return layer.msg(res.msg,{icon: 7});
	          }
	          //上传完毕
	   	  	  if(res.entity != null && res.entity.length > 0){
				for(var i in res.entity){
					var askBillAtt = res.entity[i];
					var arr = askBillAtt.split("|");
					var imgSrc = "";
					var suffix = arr[0].substring(arr[0].lastIndexOf(".")+1,arr[0].length);
					if(suffix == 'jpg' || suffix == 'png'){
						imgSrc = "${fileHttpPre}/"+arr[2];
					}else{
						imgSrc = "${ctx}/resources/images/"+suffix+".jpg";
					}
	        		$('#upload-more-list').append('<div class="layui-upload-img-div" id="upload_img_'+arr[1]+'"><img src="'+imgSrc+'" title="'+ arr[0] +'" class="layui-upload-img"><div class="mask"><a href="javascript:void(0)" onclick="showImg(\''+"${fileHttpPre}"+arr[2] +'\');">查看</a><a href="javascript:void(0)" onclick="del(\''+arr[1]+'\')";>删除</a></div><p>'+arr[0]+'</p><input type="hidden" value="'+askBillAtt+'" id="fileAtt_'+arr[1]+'" name="fileAtt" ></input></div> ');
				}
		  	  }
	      }
	      ,allDone: function(obj){ //当文件全部被提交后，才触发
	    	  layer.closeAll('loading'); //关闭loading
	      }
	      ,error: function(){
	    	  layer.closeAll('loading'); //关闭loading
	          //上传失败
	          layer.msg("上传失败，请稍后再试~",{icon: 7});
	        }
	    });
	    	  	
	 	// 按钮事件
	    var active = {
	    	to_pass_submit: function(){
	    	  $('#flow_process_form_state').val("1");	
	    	  $('#flow_process_form_state_txt').val("审批通过");	
	          layer.open({
	        	  type: 1
	        	  ,title: '审批通过确认'
	        	  ,content: $('#flow_process_form')
	        	  ,area: layui.admin.screen() < 2 ? ['80%', '460px'] : ['820px','460px']
	        	  ,btn: ['确定', '取消']
	        	  ,btnAlign: 'c'
	        	  ,yes: function(index, layero){
	        		  var submitID = 'flow_process_from_submit'
	            		,submit = layero.contents().find('#'+ submitID);
	        		  //监听提交
	        		  form.on('submit('+ submitID +')', function(data){
	        			var field = data.field; //获取提交的字段
        		  		layer.load();
        		       	//提交 Ajax 成功后，静态更新表格中的数据
        		       	$.ajax({
        		           	type : 'post',
        					url : basePath + "/flowProcess/dealWith",
        					data: $('#flow_process_form').serialize(),
        					success:function(result){
        						if(result.success){
        							layer.closeAll('loading'); //关闭loading
        							layer.msg('处理成功~',{icon: 1});
        							//两秒后关闭当前页面
        							setTimeout(function(){
        								// 刷新首页 
        								var iframe = window.parent.layui.admin.tabsBody(0).find(".layadmin-iframe");
        								iframe[0].contentWindow.location.reload(true);
        								top.layui.admin.closeThisTabs(); // 关闭当前标签页
        						        }, 2000);
        						}else{
        							layer.closeAll('loading'); //关闭loading
        							layer.msg(result.msg,{icon: 7});
        					  	}
        					}
        		       	});
	            	});  
	            submit.trigger('click');
	          }
	        }); 
	      },
	      to_refuse_submit: function(){
	    	  $('#flow_process_form_state').val("0");
	    	  $('#flow_process_form_state_txt').val("审批终止");
	          layer.open({
	        	  type: 1
	        	  ,title: '审批终止确认'
	        	  ,content: $('#flow_process_form')
	        	  ,area: layui.admin.screen() < 2 ? ['80%', '460px'] : ['820px','460px']
	        	  ,btn: ['确定', '取消']
	        	  ,btnAlign: 'c'
	        	  ,yes: function(index, layero){
	        		  var submitID = 'flow_process_from_submit'
	            		,submit = layero.contents().find('#'+ submitID);
	        		  //监听提交
	        		  form.on('submit('+ submitID +')', function(data){
	        			var field = data.field; //获取提交的字段
      		  		layer.load();
      		       	//提交 Ajax 成功后，静态更新表格中的数据
      		       	$.ajax({
      		           	type : 'post',
      					url : basePath + "/flowProcess/dealWith",
      					data: $('#flow_process_form').serialize(),
      					success:function(result){
      						if(result.success){
      							layer.closeAll('loading'); //关闭loading
      							layer.msg('处理成功~',{icon: 1});
      							//两秒后关闭当前页面
      							setTimeout(function(){
      								// 刷新首页 
      								var iframe = window.parent.layui.admin.tabsBody(0).find(".layadmin-iframe");
      								iframe[0].contentWindow.location.reload(true);
      								top.layui.admin.closeThisTabs(); // 关闭当前标签页
      						        }, 2000);
      						}else{
      							layer.closeAll('loading'); //关闭loading
      							layer.msg(result.msg,{icon: 7});
      					  	}
      					}
      		       	});
	            	});  
	            submit.trigger('click');
	          }
	        }); 
	      }
	    }  
	    // data-type事件
	    $('.layui-btn.layuiadmin-btn-admin').on('click', function(){
	      var type = $(this).data('type');
	      active[type] ? active[type].call(this) : '';
	    });
	  	
	  });
  
	//删除文件
	function del(index){
		layui.$("#fileAtt_"+index).remove();
		layui.$("#upload_img_"+index).remove();
	}

	//根据url查看文件
	function showImg(url){
		var openWin = window.open(url,'','left=410,height=768, width=1024, top=200,  toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no');
	}	
  </script>
</body>
</html>

